<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// 应用行为扩展定义文件
return [
    //单日短信发送 上限
    'mobile_send_top_today'    		=> 10,
    //短信验证码有效期（秒）
    'send_code_expire'          	=> 600,
	
    //access_token 有效时长 秒 （默认2小时）
    'access_token_expire_time'  	=> 7200,
    //refresh_token 有效时长 秒 (默认30天)
    'refresh_token_expire_time' 	=> 2592000,
    //access_token key
    'access_token_key'				=> 'xm_access',
    //refresh_token key
    'refresh_token_key'				=> 'xm_refresh',
    //api_key
    'api_token_key'			   	 	=> 'api_xiangmu',
    //access_token_ceshi(测试万能key)
    //'access_token_ceshi'			=> 'access_xiangmu',
    'user_center_public_arr'       => [
        'fans_list',//粉丝列表
        'follow_list',//关注列表
        'get_user_list_search',//搜索列表
        'bind_mobile',//绑定手机号
    ],
];
